package org.dromara.tearoom.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.tearoom.domain.TerRoomDetails;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import java.util.Map;


/**
 * 茶室详情视图对象 ter_room_details
 *
 * @author xch
 * @date 2025-03-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerRoomDetails.class)
public class TerRoomDetailsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 茶室唯一id
     */
    @ExcelProperty(value = "茶室唯一id")
    private Long id;

    /**
     * 茶室人数规格
     */
    @ExcelProperty(value = "茶室人数规格")
    private String teroomPepnum;

    /**
     * 茶室名称
     */
    @ExcelProperty(value = "茶室名称")
    private String teroomName;

    /**
     * 茶室电话
     */
    @ExcelProperty(value = "茶室电话")
    private String teroomPhone;

    /**
     * 每小时单价（h）分
     */
    @ExcelProperty(value = "每小时单价", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "h=")
    private Integer teroomHprice;

    /**
     * 最少预定时间（h）
     */
    @ExcelProperty(value = "最少预定时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "h=")
    private Float teroomNum;

    /**
     * 茶室图片路径
     */
    @ExcelProperty(value = "茶室图片路径")
    private String teroomImgurl;

    /**
     * 轮播图
     */
    private String carouselImages;

    /**
     * 内容介绍
     */
    private String contentIntro;


    private String groupName;

    private Long groupId;

    private String status;
    private String teroomTarget;
    private String teroomLatitude;
    private String teroomLongitude;
    private String startTime;
    private String endTime;

    private String delFlag;

    private Integer orderNum;

    private List<Map<String, Integer>> timeSlot;
    /**
     * 使用开始时间
     */
    private String recentBookStartTime;
    /**
     * 使用结束时间
     */
    private String recentBookEndTime;
    /**
     * WIFI名称
     */
    private String wifiName;

    /**
     * WIFI密码
     */
    private String wifiPassword;
}
